<?php
class ShowAttachWidget extends Widget{

	public function render($ids){
		$attaches	=	X('Xattach')->getAttach($ids);
		$var['data']	=	$attaches;
        $content = $this->renderFile(dirname(__FILE__)."/ShowAttach.html",$var);
        return $content;
    }
}
?>